package {{package_name}}.converter;
 
import {{package_name}}.model.dtos.{{ pascal_case }}DTO;
import {{package_name}}.model.pos.{{ pascal_case }}PO;
import {{package_name}}.model.vos.{{ pascal_case }}VO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface {{ pascal_case }}Converter {
    {{ pascal_case }}Converter INSTANCE =  Mappers.getMapper({{ pascal_case }}Converter.class);

    /**
     * dto 转 po
     * @param dto dto
     * @return  po
     */
    {{ pascal_case }}PO dtoToPO({{ pascal_case }}DTO dto);
    /**
     * po 转 vo
     * @param po po
     * @return  vo
     */
    {{ pascal_case }}VO poToVO({{ pascal_case }}PO po);
}
